Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Chart Namespace / ListBase<T> Class / CopyTo Method
The zero-based index in array at which copying begins.


In This Topic
    CopyTo Method (ListBase<T>)
    In This Topic
    Copies the entire ListBase to a compatible one-dimensional array, starting at the specified index of the target array.
    Syntax
    'Declaration
     
    Public Overridable Sub CopyTo( _
       ByVal array() As T, _
       ByVal arrayIndex As Integer _
    ) 
    'Usage
     
    Dim instance As ListBase(Of T)
    Dim array() As T
    Dim arrayIndex As Integer
     
    instance.CopyTo(array, arrayIndex)
    public virtual void CopyTo( 
       T[] array,
       int arrayIndex
    )

    Parameters

    array
    arrayIndex
    The zero-based index in array at which copying begins.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also